package cn.demoncat.util.qcc.constant;

import lombok.Getter;

/**
 * 企查查常量
 *
 * @author 延晓磊
 * @since 2021年09月17日
 */
public class QccConstant {

    /**
     * 接口URL
     */
    public static final String URL = "http://api.qichacha.com/";

    /**
     * 接口Method
     */
    @Getter
    public enum Api {
        ECISearchWide("ECIV4/SearchWide","企业工商信息查询"),
        ECIGetBasicDetailsByName("ECIV4/GetBasicDetailsByName","企业工商信息查询-详情"),
        ECIThreeElVerify("ECIThreeElVerify/GetInfo","企业三要素核验"),
        ECIInfoVerify("ECIInfoVerify/GetInfo","企业工商信息详情"),
        JudicialSaleCheck("JudicialSaleCheck/GetList","司法拍卖核查"),
        JudicialSaleCheckDetail("JudicialSaleCheck/GetDetail","司法拍卖核查-详情"),
        SeriousIllegalCheck("SeriousIllegalCheck/GetList","严重违法核查"),
        TaxOweNoticeCheck("TaxOweNoticeCheck/GetList","欠税公告核查"),
        TaxOweNoticeCheckDetail("TaxOweNoticeCheck/GetDetail","欠税公告核查-详情"),
        TaxIllegalCheck("TaxIllegalCheck/GetList","税收违法核查"),
        TaxIllegalCheckDetail("TaxIllegalCheck/GetDetail","税收违法核查-详情"),
        AdminPenaltyCheck("AdminPenaltyCheck/GetList","行政处罚核查"),
        ChattelMortgageCheck("ChattelMortgageCheck/GetList","动产抵押核查"),
        ZhixingCheck("ZhixingCheck/GetList","被执行人核查"),
        ZhixingCheckDetail("ZhixingCheck/GetDetail","被执行人核查-详情"),
        ShixinCheck("ShixinCheck/GetList","失信核查"),
        ShixinCheckDetail("ShixinCheck/GetDetail","失信核查-详情"),
        ExceptionCheck("ExceptionCheck/GetList","经营异常核查"),
        ECIInfoOverview("ECIInfoOverview/GetInfo","企业工商风险扫描"),
        EnvPunishmentCheck("EnvPunishmentCheck/GetList","环保处罚核查"),
        EnvPunishmentCheckDetail("EnvPunishmentCheck/GetDetail","环保处罚核查-详情"),
        Patent("PatentV4/SearchMultiPatents","专利查询"),
        PatentDetail("PatentV4/GetDetails","专利查询-详情"),
        TM("tm/SearchByApplicant","商标查询"),
        TMDetail("tm/GetDetails","商标查询-详情"),
        CompanyNews("CompanyNews/SearchNews","新闻舆情"),
        CompanyNewsDetail("CompanyNews/GetNewsDetail","新闻舆情-详情"),
        ECICertification("ECICertification/SearchCertification","企业证书查询"),
        ECICertificationDetail("ECICertification/GetCertificationDetailById","企业证书查询-详情"),
        AR("AR/GetAnnualReport","企业年报信息"),
        ARSummary("AR/GetAnnualReportSummary","企业年报信息-概况"),
        WebSite("WebSiteV4/GetCompanyWebSite","备案网站查询"),
        ECIImage("ECIImage/GetEciImage","工商快照"),
        ADSTLicenseGs("ADSTLicense/GetGsAdministrativeLicenseList","行政许可-工商"),
        ADSTLicense("ADSTLicense/GetAdministrativeLicenseList","行政许可-其它"),
        ADSTLicenseDetail("ADSTLicense/GetAdministrativeLicenseDetail","行政许可-详情")

        ;

        Api(String url, String name) {
            this.url = url;
            this.name = name;
        }

        private final String url;
        private final String name;
    }


}
